package com.smartalarmclock.Model.Exceptions;

@SuppressWarnings("serial")
public final class RingtoneDoesNotExistException extends Exception {
	
	/**
	 * Constructor
	 * @param ringtoneId the id of the ringtone as it saved in the phone database.
	 */
	public RingtoneDoesNotExistException(int ringtoneId) {
		super(String.format("The ringtone with the id %d does not exist.", ringtoneId));
	}
	
	/**
	 * Constructor
	 * @param ringtoneTitle the title of the ringtone
	 */
	public RingtoneDoesNotExistException(String ringtoneTitle) {
		super(String.format("The ringtone with the title %s does not exist.", ringtoneTitle));
	}
}
